package cn.edu.xmu.restfuldemo.mapper;

import cn.edu.xmu.restfuldemo.model.OrderItemPo;
import cn.edu.xmu.restfuldemo.model.OrdersPo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrdersMapper {
    int createOrders(OrdersPo ordersPo);
    List<OrdersPo> findOrders(OrdersPo ordersPo);
    List<OrderItemPo> findOrderItemPo(OrderItemPo orderItemPo);
}
